<!--
 * @Description: 
 * @Author: xiongkuobiao
 * @Date: 2023-02-24 11:28:52
 * @LastEditors: xiongkuobiao
 * @LastEditTime: 2023-02-24 11:32:18
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    // let url =
    //   "http://www.domain.com/?user=anonymous&id=123&id=456&city=%E5%8C%97%E4%BA%AC&enabled";

    // let param = url.split("?")[1];

    // let obj = {};
    // let arr = param.split("&");
    // arr.forEach((item) => {
    //   let dange = item.split("=");
    //   if (dange.length == 1) {
    //     obj[dange[0]] = "";
    //   } else {
    //     obj[dange[0]] = dange[1];
    //   }
    // });
    // console.log(obj);
  </script>
</html>
